package com.dhcc.DRGsHosp.facade.dto;

import java.io.Serializable;

public class MDCGroupDTO implements Serializable {

	private String mdcCode;

	private String mdcDesc;

	private String verCode;
	
	//开始日期
	private String dateFrom;
		
	//结束日期
	private String dateTo;

	public void setMdcDesc(String mdcDesc) {
		this.mdcDesc = mdcDesc;
	}

	public String getMdcDesc() {
		return this.mdcDesc;
	}

	public void setVerCode(String verCode) {
		this.verCode = verCode;
	}

	public String getVerCode() {
		return this.verCode;
	}

	public String getMdcCode() {
		return mdcCode;
	}

	public void setMdcCode(String mdcCode) {
		this.mdcCode = mdcCode;
	}
	public String getDateFrom() {
		return dateFrom;
	}

	public void setDateFrom(String dateFrom) {
		this.dateFrom = dateFrom;
	}

	public String getDateTo() {
		return dateTo;
	}

	public void setDateTo(String dateTo) {
		this.dateTo = dateTo;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((mdcCode == null) ? 0 : mdcCode.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MDCGroupDTO other = (MDCGroupDTO) obj;
		if (mdcCode == null) {
			if (other.mdcCode != null)
				return false;
		} else if (!mdcCode.equals(other.mdcCode))
			return false;
		return true;
	}
}